package org.swing;

import org.swing.frame.GUISerializable;

import javax.swing.*;
import java.util.prefs.Preferences;

/**
 * Created by IntelliJ IDEA.
 * User: babitsky.viacheslav
 * Date: 29.01.2008
 * Time: 12:33:20
 */
public class JExtTable extends JTable implements GUISerializable{
    /**
     * Constructs a <code>JTable</code> to display the values in the two dimensional array,
     * <code>rowData</code>, with column names, <code>columnNames</code>.
     * <code>rowData</code> is an array of rows, so the value of the cell at row 1,
     * column 5 can be obtained with the following code:
     * <p/>
     * <pre> rowData[1][5]; </pre>
     * <p/>
     * All rows must be of the same length as <code>columnNames</code>.
     * <p/>
     *
     * @param rowData     the data for the new table
     * @param columnNames names of each column
     */
    public JExtTable(Object[][] rowData, Object[] columnNames) {
        super(rowData, columnNames);    //To change body of overridden methods use File | Settings | File Templates.
    }

    public void loadDataFromPreferences(Preferences preferences) {

    }

    public void saveDataToPreferences(Preferences preferences) {

    }
}
